{%- import "apostrophe-ui:components/fields.html" as fields -%}
<tr>
  {# Output a th for each column that has the list property. Also output #}
  {# markup for sorting when appropriate. -Tom #}
  <td>{{fields.checkbox('select-all')}}</td>
  {%- for column in data.columns -%}
  <th class="apos-manage-column apos-manage-{{ data.options.name | css }}-{{ column.name | css }}{% if column.sort %} apos-manage-column--sortable{% endif %}" {% if column.sort %}data-sort data-default-sort-direction="{{ column.defaultSortDirection or '1' }}" {% endif %}data-column-name="{{ column.name }}">{#
      #}{{ __ns('apostrophe', column.label) }}{#
      #}</th>
  {%- endfor -%}
</tr>
